﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Core.Data
{
    /// <summary>
    /// 版本管理服务操作结果
    /// </summary>
    [DataContract]
    public class VersionResult
    {
        /// <summary>
        /// 操作是否成功
        /// </summary>
        [DataMember]
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        [DataMember]
        public string Message { get; set; }

        /// <summary>
        /// 操作的文件全名
        /// </summary>
        [DataMember]
        public string FileFullName { get; set; }

        /// <summary>
        /// 操作之后的文件变更集信息
        /// </summary>
        [DataMember]
        public double Changeset { get; set; }

        /// <summary>
        /// 操作之后的文件变更集编码
        /// </summary>
        [DataMember]
        public int ResultCode { get; set; }
    }
}
